package net.jiug.email.service;

import net.jiug.email.model.Email;
import net.jiug.email.model.EmailContent;

import java.util.ArrayList;
import java.util.List;

/**
 * @author keffett
 * @date 2018-11-23
 */
public interface EmailService {

    // 当前使用邮箱账户
    List<Email> currentEmailAccounts = new ArrayList<>();

    void notice(EmailContent emailContent) throws Exception;
    void notice(String content,String email) throws Exception;

    void updateCurrentEmailAccount();

}
